package com.youshang520i.springcommonmiddleware.mq.rabbitmq.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "spring.rabbitmq")
@Data
public class RabbitMqConnection {

    private String password;
    private String username;
    private Integer port;
    private String host;
}
